package 自定义异常;

import java.util.Scanner;

public class TeacherTest {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入分数：");
        int s = sc.nextInt();
        Teacher t=new Teacher();
        try {
            t.CheckScore(s);
        } catch (ScoreException e) {
            e.printStackTrace();
        }

    }
}
